package com.wutianyi.module.product.dataobject;

import java.util.List;

/**
 * @author wutianyi
 * 
 */
public class ProductDTO {

	private int id;
	private ProductDO product;
	private List<ProductAttrDO> attrs;
	private ProductInfoDO productInfo;

	public ProductDTO() {
	}

	public ProductDTO(ProductDO product, List<ProductAttrDO> attrs,
			ProductInfoDO productInfo) {
		this.product = product;
		this.attrs = attrs;
		this.productInfo = productInfo;
	}

	public ProductDO getProduct() {
		return product;
	}

	public void setProduct(ProductDO product) {
		this.product = product;
	}

	public List<ProductAttrDO> getAttrs() {
		return attrs;
	}

	public void setAttrs(List<ProductAttrDO> attrs) {
		this.attrs = attrs;
	}

	public ProductInfoDO getProductInfo() {
		return productInfo;
	}

	public void setProductInfo(ProductInfoDO productInfo) {
		this.productInfo = productInfo;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
